/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session.manager;

import entity.Resource;
import entity.Storage;
import java.util.Collection;
import javax.ejb.Local;

/**
 *
 * @author antonio
 */
@Local
public interface ResourceManagerBeanLocal {

    void initResources(String username);

    void decrese(String username, String resource, int amount);

    void increse(String username, String resource, int amount);

    int getResourceAmount(String username, String resource);

    void edit(Storage storage);

    void edit(Resource resource);

    Collection<Resource> findAll();
}
